/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package excessoes.clienteException; 

/**
 *
 * @author Wagner Tavares
 */
public class HoraInvalidaException extends java.lang.Exception {
    private String horaInvalida;
    /**
     * Creates a new instance of <code>HoraInvalidaException</code> without detail message.
     */
    public HoraInvalidaException(String hora) {
        super("Foi recebido, do banco de dados, uma data inválida.");
        this.horaInvalida = hora;
    }
    public String getHoraInvalida(){
        return horaInvalida;
    }
}
